package com.muyu.system.req;

import com.muyu.common.core.annotation.Excel;
import com.muyu.danmo.domain.DanmoAddresses;
import com.muyu.system.domain.DanmoShoppingOrderDetails;
import com.muyu.system.domain.DanmoShoppingProducts;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品订单
 *
 * @author kunzong
 * @date 2024-09-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoShoppingOrdersReq {
    /**
     * 商品ID
     */
    private Long id;

    /**
     * 商品规格ID
     */
    private Long productSpecifications;

    /**
     * 购买数量
     */
    private Long quantity;

    /**
     * 收货地址
     */
    private Long shippingAddress;

    /**
     * 快递
     */
    private String posExpress;

    /**
     * 快递单号
     */
    @Excel(name = "快递单号")
    private String expressDeliveryNumber;

    /**
     * 支付方式 （1.微信 2.支付宝 3.信用卡）
     */
    private Long paymentMethod;

    /**
     * 商品价格
     */
    private BigDecimal price;

    /**
     * 备注
     */
    private String remark;

    /**
     * 订单ID
     */
    private Long orderId;


    /**
     * 地址信息
     */
    private DanmoAddresses danmoAddresses;

    /**
     * 商品信息
     */
    private List<DanmoShoppingProducts> danmoShoppingProductsList;

    /**
     * 订单信息
     */
    private DanmoShoppingOrderDetails danmoShoppingOrderDetails;

}
